/*
 * @Author: deliteam 462085920@qq.com
 * @Date: 2022-12-14 17:15:08
 * @Description:
 */
import { ApiProperty } from '@nestjs/swagger';
export class FindProductDto {
  @ApiProperty({
    required: false,
    description: '查询关键字',
  })
  keyword: string;

  @ApiProperty({
    required: false,
    description: '查询分类Id',
  })
  category: string;

  @ApiProperty({
    required: true,
    description: '查询页面',
  })
  page: number;

  @ApiProperty({
    required: true,
    description: '查询数量',
  })
  limit: number;

  @ApiProperty({
    required: false,
    description: '根据状态查询列表',
  })
  status: number;

  @ApiProperty({
    required: false,
    description: '传递一个或者多个,分割的值,查询的列表将过滤这些ids',
  })
  excludeIds: string;
  @ApiProperty({
    required: false,
    description: '是否查询推荐',
  })
  recommend: boolean;
}
